﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div class="left_content">
    <div class="title_box">Categories</div>
    
        <ul class="left_menu">
        <% List<FlowerShop.Models.Category> listCate= FlowerShop.DataAccessLayer.CategoriesDAO.GetAllCategories();
           int i = 0;
            foreach (FlowerShop.Models.Category cate in listCate)
           {
               if (i % 2 == 0)
               { 
                   %>
                    <li class="odd"><a href='../../Categories/Details/<%: cate.CateID %>'><%: cate.CateaName %></a></li>
                   <%
                }
               else
               {
                    %>
                    <li class="even"><a href='../../Categories/Details/<%: cate.CateID %>'><%: cate.CateaName %></a></li>
                    <%
               }
           }
            %>
       
       
        </ul> 
        
        
     <div class="title_box">Special Products</div>  
     <div class="border_box">
         <div class="product_title"><a href="details.html">Makita 156 MX-VL</a></div>
         <div class="product_img"><a href="details.html"><img src="images/p1.jpg" alt="" title="" border="0" /></a></div>
         <div class="prod_price"><span class="reduce">350$</span> <span class="price">270$</span></div>
     </div>  
     
     
     <div class="title_box">Newsletter</div>  
     <div class="border_box">
		<input type="text" name="newsletter" class="newsletter_input" value="your email"/>
        <a href="#" class="join">subscribe</a>
     </div>  
     
     <div class="banner_adds">
     
     <a href="#"><img src="images/bann2.jpg" alt="" title="" border="0" /></a>
     </div>    
        
    
   </div>